
export function creatReducers(initState:object,actionList:object) {
  return function(state = initState,action) { 
    if(action.type in actionList) {
      return actionList[action.type](state,action);
    }else{
      return state;
    }
  }
}